export default // 初始化路由
[
  {
    path: '/',
    name: 'login',
    // component: () => import('../views/Login/login.vue')
    component: resolve => require(['../../views/login/index'], resolve),
    children: []
  },
  {
    path: '/login',
    name: 'login',
    // component: () => import('../views/Login/login.vue')
    component: resolve => require(['../../views/login/index'], resolve),
    children: []
  },
  {
    path: '/404',
    name: '404',
    // component: () => import('../views/404/index.vue')
    component: resolve => require(['../../views/404/index'], resolve),
    children: []
  },
  // {
  //   path: '/home',
  //   component: resolve => require(['../../views/home/overview'], resolve),
  //   children: [{
  //       path: '/',
  //       name: '首页',
  //       component: resolve => require(['../../views/home'], resolve)
  //     }
  //   ],
  // },
  // { path: '*', redirect: '/404', children: [] }
]